|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISessionDescriptor
The descriptor for a session in the process engine.
| Method Summary | |
|---|---|
void |
clearAttribute(java.lang.String attributeName)
Clears the value of the specified session attribute. |
java.lang.Object |
getAttribute(java.lang.String attributeName)
Returns the value of the session attribute with the specified name or null if no such attribute exists. |
java.lang.String[] |
getAttributeNames()
Returns the names of the attributes set in the session. |
java.lang.Object |
getService(java.lang.String identifier)
Returns the service selected for the specified identifier or null if no such service exists. |
java.lang.String[] |
getServiceIdentifiers()
Returns the identifiers of all the externally-provided services. |
java.lang.String |
getSessionID()
Returns the ID of the session being described. |
void |
setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
Sets the value of the specified session attribute or clears it if the supplied value is null. |
| Method Detail |
|---|
java.lang.String getSessionID()
java.lang.String[] getServiceIdentifiers()
java.lang.Object getService(java.lang.String identifier)
throws java.lang.NullPointerException
null if no such service exists.
identifier - The identifier of the service to return.
null if no such service exists.
java.lang.NullPointerException - If the supplied identifier is
null.java.lang.String[] getAttributeNames()
java.lang.Object getAttribute(java.lang.String attributeName)
throws java.lang.NullPointerException
null if no such attribute exists.
attributeName - The name of the session attribute to return.
null if no such attribute exists.
java.lang.NullPointerException - If the specified attribute name is
null.
void setAttribute(java.lang.String attributeName,
java.lang.Object attributeValue)
throws java.lang.NullPointerException
null.
attributeName - The name of the session attribute to set.attributeValue - The value to set the attribute to or
null to clear the attribute.
java.lang.NullPointerException - If the specified attribute name is
null.
void clearAttribute(java.lang.String attributeName)
throws java.lang.NullPointerException
attributeName - The name of the session attribute to clear.
java.lang.NullPointerException - If the specified attribute name is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||